package com.fh.service;

import com.fh.model.DataTablePageBean;
import com.fh.model.DataTableResult;
import com.fh.model.User;
import com.fh.model.UserSearch;

import java.util.List;

/**
 * @author zhaolh
 * @title: UserService
 * @projectName ssm-demo
 * @description: TODO
 * @date 2021/11/2 11:17
 */
public interface UserService {
    void addUser(User user);

    DataTableResult queryUserList(DataTablePageBean pageBean, UserSearch search);

    void deleteUser(Integer id);

    void updateUser(User user);

    User queryUserById(Integer id);

    void deleteBatch(List list);
}
